// react + ts

type Props = {
    className: string,
    title?: string
  }
  
  function Button(props: Props) {
    const { className } = props
    return (
      <button className={className}></button>
    )
  }
  function App() {
    return (
      <>
        <Button className='test' title="this is title"></Button>
      </>
    )
  }
  
  export default App
  